﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OneSoft.EntityCore;
using OneSoft.DataAccess;
using System.Data;
using BySoft.Server.Common.Enum;

using BySoft.Server.Consts;
using BySoft.Server.Common.Entity;
using BySoft.Server.Common.Schema;
using BySoft.Server.DataAccess;
namespace BySoft.Server.Business
{
    public partial class SysUseroperationlog
    {
        public static bool InsertOperationLog(SysUseroperationlogEntity enLog)
        {

            using (DataAccessBroker broker = DataAccessFactory.Instance())
            {


                return DataAccessCommon.Insert(enLog, "OPERATIONLOG_SEQU", "Useroperationlogid", broker);
            }


        }

        public static DataTable GetOperationLogList(string moduleID, string operatorInfo, string startDate,
                string endDate, string actionType, string theKey, int pageIndex, int pageSize, out int count)
        {
            return SysUseroperationlogDA.GetOperationLogList(moduleID, operatorInfo, startDate, endDate, actionType, theKey, pageIndex, pageSize, out count);
        }
    }
}
